import request from '@/utils/request'

// 查询接口Header列表
export function listExcPortHeader(query) {
  return request({
    url: '/pm/excPortHeader/list',
    method: 'get',
    params: query
  })
}

// 查询接口Header详细
export function getExcPortHeader(id) {
  return request({
    url: '/pm/excPortHeader/' + id,
    method: 'get'
  })
}

// 新增接口Header
export function addExcPortHeader(data) {
  return request({
    url: '/pm/excPortHeader',
    method: 'post',
    data: data
  })
}

// 修改接口Header
export function updateExcPortHeader(data) {
  return request({
    url: '/pm/excPortHeader',
    method: 'put',
    data: data
  })
}

// 删除接口Header
export function delExcPortHeader(id) {
  return request({
    url: '/pm/excPortHeader/' + id,
    method: 'delete'
  })
}
